<%@ page pageEncoding="UTF-8" %>
<%@ page contentType="text/html; charset=UTF-8" %>

<!DOCTYPE html>
<html lang="zh">
<head>
	<title>单点登陆管理系统</title>
	<jsp:include page="../includes/manager-top.jsp" />
</head>

<body class="fixed-sidebar full-height-layout gray-bg skin-blue" style="overflow: hidden">
	<div id="wrapper">

		<!--左侧导航开始-->
		<jsp:include page="../includes/manager-nav.jsp" />
		<!--左侧导航结束-->
		
		<!--右侧部分开始-->
		<div id="page-wrapper" class="gray-bg dashbard-1">
			<div class="row border-bottom">
				<nav class="navbar navbar-static-top" role="navigation" style="margin-bottom: 0">
					<div class="navbar-header">
						<a class="navbar-minimalize minimalize-styl-2" style="color:#FFF;" href="#" title="收起菜单">
							<i class="fa fa-bars"></i>
						</a>
					</div>
					
					<ul class="nav navbar-left">
						<li style="float:left;">
							<a title="单点登陆管理系统" id="applicationItem" target="_blank" onclick="'showApplicationMenus(this)'" data-id="${item.id">
								<i class="${item.applicationIcons"></i> 单点登陆管理系统
							</a>
						</li>
					</ul>
					
					<ul class="nav navbar-top-links navbar-right welcome-message">
						<li><a title="云平台" href="${ctx}/}" target="_blank"><i class="fa fa-desktop"></i> 云平台</a></li>
						<li><a title="全屏显示" href="javascript:void(0)" id="fullScreen"><i class="fa fa-arrows-alt"></i> 全屏显示</a></li>
						
						<li class="dropdown user-menu" if="${session.CURRENT_USER != null">
							<a href="javascript:void(0)" class="dropdown-toggle" data-hover="dropdown">
								<img src="${ctx}/asserts/img/header.png}" alt="${session.CURRENT_USER.name}" class="user-image">
								<span class="hidden-xs" text="${session.CURRENT_USER.name"></span>
							</a>
							<ul class="dropdown-menu">
								<li class="mt5">
									<a href="${ctx}/dashboard/common/user/profile}" class="menuItem">
									<i class="fa fa-user"></i> 个人中心</a>
								</li>
								<li>
									<a onclick="resetPwd()" class="menuItem">
									<i class="fa fa-key"></i> 修改密码</a>
								</li>
								<li class="divider"></li>
								<li>
									<a href="javascript:void(0)" onclick="logout()">
									<i class="fa fa-sign-out"></i> 退出登录</a>
								</li>
							</ul>
						</li>
						
						<li class="dropdown user-menu" if="${session.CURRENT_USER == null">
							<a href="javascript:void(0)" class="dropdown-toggle" data-hover="dropdown">
								<img src="${ctx}/asserts/img/header.png}" class="user-image">
								<span class="hidden-xs">用户管理员</span>
							</a>
							<ul class="dropdown-menu">
								<li class="divider"></li>
								<li>
									<a href="javascript:void(0)" onclick="logout()">
									<i class="fa fa-sign-out"></i> 退出登录</a>
								</li>
							</ul>
						</li>
						
					</ul>
				</nav>
			</div>
			
			<div class="row content-tabs">
				<button class="roll-nav roll-left tabLeft">
					<i class="fa fa-backward"></i>
				</button>
				<nav class="page-tabs menuTabs">
					<div class="page-tabs-content">
						<a href="javascript:;" class="active menuTab" data-id="/system/main">首页</a>
					</div>
				</nav>
				<button class="roll-nav roll-right tabRight">
					<i class="fa fa-forward"></i>
				</button>
				<a href="#" class="roll-nav roll-right tabReload"><i class="fa fa-refresh"></i> 刷新</a>
			</div>
			
			<a id="ax_close_max" class="ax_close_max" href="#" title="关闭全屏"> <i class="fa fa-times-circle-o"></i> </a>
						
			<div class="row mainContent" id="content-main">
				<iframe class="RuoYi_iframe" name="iframe0" width="100%" height="100%" data-id="/system/main" src="${ctx}/dashboard/home}" frameborder="0" seamless></iframe>
			</div>
			<div class="footer">
				<div class="pull-right">© 2019 分布式研发小组 </div>
			</div>
		</div>
		<!--右侧部分结束-->
	</div>

	<!-- footer_start -->
	<script src="${ctx}/asserts/js/jquery.min.js"></script>
	<script src="${ctx}/asserts/js/bootstrap.min.js"></script>
	<script src="${ctx}/asserts/js/plugins/metisMenu/jquery.metisMenu.js"></script>
	<script src="${ctx}/asserts/js/plugins/slimscroll/jquery.slimscroll.min.js"></script>
	<script src="${ctx}/asserts/js/jquery.contextMenu.min.js"></script>
	<script src="${ctx}/asserts/ajax/libs/blockUI/jquery.blockUI.js"></script>
	<script src="${ctx}/asserts/ajax/libs/layer/layer.min.js"></script>
	<script src="${ctx}/asserts/constom/js/ry-ui.js"></script>
	<script src="${ctx}/asserts/constom/index.js"></script>
	<script src="${ctx}/asserts/ajax/libs/fullscreen/jquery.fullscreen.js"></script>
	
	<script type="text/javascript">
		// 退出
		function logout(){
			var url = ctx + 'logout';
			$.modal.loading("正在退出当中");
			top.location.href = url ; 
		}
	</script>
	<!-- footer_end -->
	
</body>
</html>
